﻿@model Mvc.QAS.Nekorama.Question

@{
    ViewBag.Title = "Create";
}

<h2>Create</h2>

@using (Html.BeginForm()) {
    @Html.ValidationSummary(true)

    <fieldset>
        <legend>Question</legend>

        <div class="editor-label">
            @Html.LabelFor(model => model.BountyID, "Bounty")
        </div>
        <div class="editor-field">
            @Html.DropDownList("BountyID", String.Empty)
            @Html.ValidationMessageFor(model => model.BountyID)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TagName1, "Tag")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TagName1", String.Empty)
            @Html.ValidationMessageFor(model => model.TagName1)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TagName2, "Tag1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TagName2", String.Empty)
            @Html.ValidationMessageFor(model => model.TagName2)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TagName3, "Tag2")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TagName3", String.Empty)
            @Html.ValidationMessageFor(model => model.TagName3)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TagName4, "Tag3")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TagName4", String.Empty)
            @Html.ValidationMessageFor(model => model.TagName4)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.TagName5, "Tag4")
        </div>
        <div class="editor-field">
            @Html.DropDownList("TagName5", String.Empty)
            @Html.ValidationMessageFor(model => model.TagName5)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Title)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Title)
            @Html.ValidationMessageFor(model => model.Title)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.Content)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.Content)
            @Html.ValidationMessageFor(model => model.Content)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VoteCount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VoteCount)
            @Html.ValidationMessageFor(model => model.VoteCount)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsAnswered)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsAnswered)
            @Html.ValidationMessageFor(model => model.IsAnswered)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.IsSpam)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.IsSpam)
            @Html.ValidationMessageFor(model => model.IsSpam)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SpamCount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SpamCount)
            @Html.ValidationMessageFor(model => model.SpamCount)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.EditReason)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.EditReason)
            @Html.ValidationMessageFor(model => model.EditReason)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VoteUpUserList)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VoteUpUserList)
            @Html.ValidationMessageFor(model => model.VoteUpUserList)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.VoteDownUserList)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.VoteDownUserList)
            @Html.ValidationMessageFor(model => model.VoteDownUserList)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.SpamMarkUserList)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.SpamMarkUserList)
            @Html.ValidationMessageFor(model => model.SpamMarkUserList)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ViewCount)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.ViewCount)
            @Html.ValidationMessageFor(model => model.ViewCount)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreatedDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.CreatedDate)
            @Html.ValidationMessageFor(model => model.CreatedDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.CreatedUser, "User")
        </div>
        <div class="editor-field">
            @Html.DropDownList("CreatedUser", String.Empty)
            @Html.ValidationMessageFor(model => model.CreatedUser)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.LastModifiedDate)
        </div>
        <div class="editor-field">
            @Html.EditorFor(model => model.LastModifiedDate)
            @Html.ValidationMessageFor(model => model.LastModifiedDate)
        </div>

        <div class="editor-label">
            @Html.LabelFor(model => model.ModifiedUser, "User1")
        </div>
        <div class="editor-field">
            @Html.DropDownList("ModifiedUser", String.Empty)
            @Html.ValidationMessageFor(model => model.ModifiedUser)
        </div>

        <p>
            <input type="submit" value="Create" />
        </p>
    </fieldset>
}

<div>
    @Html.ActionLink("Back to List", "Index")
</div>

@section Scripts {
    @Scripts.Render("~/bundles/jqueryval")
}
